package com.example.cinema.mapper;

import com.example.cinema.entity.Trailer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yc138
 * @since 2024-08-26
 */
public interface TrailerMapper extends BaseMapper<Trailer> {
    @Select("select * from trailer where mid = #{mid}")
    List<Trailer> selectByMid(int mid);
}
